package com.huichenghe.xinlvsh01.Utils;

import android.app.Activity;
import android.content.Context;
import android.view.WindowManager;
import android.widget.Toast;

/**
 * Created by lixiaoning on 15-11-5.
 */
public class MyToastUitls {

    public static void showToast(Context mContext, int msg, int length)
    {
        Toast  toast = Toast.makeText(mContext, msg, length == 1 ? Toast.LENGTH_LONG : Toast.LENGTH_SHORT);
        toast.show();
    }


}
